.main{
    width: 980px;
    height: 455px;
    margin-left: 220px;
    margin-top: 10px;
}

/* 在index.html页面直接显示隐藏的菜单 */
.dropdown .dd{
    display: block;
}

.focus{
    float: left;
    width: 721px;
    height: 455px;
}

.newflash{
    float: right;
    width: 250px;
    height: 455px;
}

.news{
    height: 165px;
    border: 1px solid #e4e4e4;
}

.news-hd{
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding: 0 15px;
}

.news-hd h5{
    float: left;
    font-size: 14px;
}

.news-hd .more{
    float:right;
}

.news-hd .more::after{
    content: '\e920';
    font-family: 'icomoon';
}

.news-bd{
    padding: 5px 15px 0;
}

.news-bd ul li{
    height: 24px;
    line-height: 24px;

    /* 文字溢出隐藏 */
    overflow: hidden;
    /* 强制文字一行显示,不允许换行 */
    white-space:nowrap;
    /* 超出的文字显示省略号 */
    text-overflow: ellipsis;
}


.lifeservice{
    /* 去除溢出的部分,这里是每行第4个li的右边框和第三行所有li的右、下边框 */
    overflow: hidden;
    height: 209px;
    border:1px solid #e4e4e4;
    border-top: none;
}

/* 让ul超出.lifeservice盒子宽度,使一行能够放下4个li */
.lifeservice ul{
    width: 252px;
}

.lifeservice li{
    position:relative;
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}

.lifeservice li i{
    display:inline-block;
    width: 24px;
    height: 28px;
    background-color: pink;
    margin-top: 12px;
    background: url(../images/icons.png) no-repeat -19px -15px;
}

/* 生活服务模块右上角减小图标 */
.lifeservice .sub::after{
    position:absolute;
    top: 0;
    right: 0;
    content: '';
    width: 12px;
    height: 15px;
    background: url(../images/sub-icon_03.png) no-repeat center;
}

.bargain{
    margin-top: 6px;
}

/* 今日推荐 */
.recom{
    background-color: pink;
    height: 163px;
    margin-top: 12px;
}

.recom-hd{
    float: left;
    width: 205px;
    height: 163px;
    background: #5c5251 url(../images/recom.png) no-repeat center;
}

.recom-bd{
    float: left;
    width: 995px;
    height: 163px;
    background-color: #ebebeb;
}

.recom-bd ul li{
    position: relative;
    float: left;
}

.recom-bd ul li img{
    width: 248px;
    height: 163px;
}

/* nth-child(-n+3):选择前三个li */
.recom-bd ul li:nth-child(-n+3)::after{
    position: absolute;
    top: 10px;
    right: 0;
    content: "";
    width: 1px;
    height: 145px;
    background-color:#ddd;
}

/* 家用电器模块 */
.box-hd{
    height: 30px;
    border-bottom:2px solid #c81623;
}

.box-hd h3{
    float: left;
    font-size: 18px;
    color: #c81623;
    font-weight: 400;
}

.tab_list{
    float:right;
    line-height: 30px;
}

.tab_list ul li{
    float:left;
}

.tab_list ul li a{
    padding: 0 15px;
}

.floor{
    margin-bottom: 37px;
}

.floor .w{
    margin-top: 30px;
}

.box-bd{
    height: 361px;
}

.tab_list_item > div{
    float: left;
    height: 361px;
}

.col_210{
    width: 210px;
    background-color: #f9f9f9;
    text-align: center;
}

.col_210 ul{
    padding-left: 12px;
}

.col_210 ul li{
    float: left;
    width: 85px;
    height: 34px;
    line-height: 33px;
    margin-right: 10px;
    border-bottom: 1px solid #ededed;
}

.col_329{
    width: 329px; 
}

.col_221{
    width: 221px;
}

.col_219{
    width: 219px;
}

.col_219 img{
    width: 218px;
    height: 179px;
}


.bb{
    /* 一般情况下,a如果包含有宽度的盒子,a需要转换为块级元素 */
    display:block;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}



 